#ifndef __VM_CAMERA_SENSOR_H
#define __VM_CAMERA_SENSOR_H

#ifdef __cplusplus
extern "C" {
#endif

#define VM_CAM_SENSOR_NAME "sensor:quality=camera_engine;device=mobile;model=ALL;location=inside"

typedef long CSLONG;

/**
 * @struct of camera sensor data.
 * @brief data type for camera sensor.
 */
typedef struct vm_camera_sensor_data_t {
	CSLONG offset_x;			/**<Offset to last frame in x-axis, unit in PX.
									Positive number for positive direction, negative number for negative direction.*/
	CSLONG offset_y;			/**<Offset to last frame in y-axis, unit in PX.
									Positive number for positive direction, negative number for negative direction.*/
	CSLONG zoom;				/**<Zoom number to last frame, unit in milli.
									e.g. this frame zoom up 2.5% than last frame, the zoom number is 1025.*/
	CSLONG rotation_X;			/**<Rotate angle to x-axis, unit in tenth.
									e.g. 52 mean the rotate angle is 5.2 to x-axis.*/
	CSLONG rotation_Y;			/**<Rotate angle to y-axis, unit in tenth.*/
	CSLONG rotation_Z;			/**<Rotate angle to z-axis, unit in tenth.*/
}vm_camera_sensor_data_t;


#ifdef __cplusplus
}
#endif 
#endif
